package edu.hhu.controller;

import java.math.BigDecimal;
import java.util.List;

import com.jfinal.core.Controller;
import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;

import edu.hhu.analyse.Analyse;
import edu.hhu.analyse.AnalyseHelp;
public class AnalyseController extends Controller{
	
	public void index(){
		String wellcode= this.getPara("wellcode");
		String zhibiao1= this.getPara("zhibiao1");
		String zhibiao2= this.getPara("zhibiao2");
		String analysePra= this.getPara("analysePra");

		AnalyseHelp analyseHelp=new AnalyseHelp();
		System.out.println("1234");
		String json=analyseHelp.getJson(wellcode, zhibiao1, zhibiao2,analysePra);
		System.out.println("5678");
		renderJson(json);
	}
	
	
	
}
